import request from '@/utils/request'
export function sysUser(data) {
  return request({
    url: '/sys/user',
    params: data
  })
}
// 新增
export function sysUserPost(data) {
  return request({
    url: '/sys/user',
    method: 'post',
    data
  })
}
// 删除
export function sysUserDel(id) {
  return request({
    url: '/sys/user/' + id,
    method: 'delete'
  })
}
// 批量导入员工
export function sysUserBatch(data) {
  return request({
    url: '/sys/user/batch',
    method: 'post',
    data
  })
}
